import ActionTypes from "../action";

export default {
  // 佣金设置
  [ActionTypes.COMMISSION_MANAGE]: [
    {
      label: "省份",
      prop: "provinceCode",
      solt: true,
    },
    {
      label: "城市",
      prop: "cityCode",
      solt: true,
    },
    {
      label: "佣金",
      prop: "percentage",
      formatter(_, value) {
        return value + "%";
      },
    },
    {
      label: "更新时间",
      prop: "gmtCreated",
      format: "yyyy-MM-dd hh:mm:ss",
    },
  ],
  [ActionTypes.WITHDRAW_MANAGE]: [
    {
      label: "商家姓名",
      prop: "merchantName",
    },
    {
      label: "商家电话",
      prop: "mobile",
    },
    {
      label: "省份",
      prop: "provinceName",
    },
    {
      label: "城市",
      prop: "cityName",
    },
    {
      label: "提现金额",
      prop: "withdrawMoney",
    },
    {
      label: "佣金",
      prop: "commission",
    },
    {
      label: "提现时间",
      prop: "gtmTime",
    },
  ],
};
